home *** CD-ROM | disk | FTP | other *** search
- Parapuke #1 @8251
- Fri Dec 10 22:35:52 1993
- 0R: net33: @4076 (via @4061) [04:27 12/13/93]
- 0R: net33: @4050 (via @4064) [03:51 12/13/93]
- 0R: net33: @4064 (via @1040) [02:08 12/13/93]
- 0R: net33: @1040 (via @2050) [15:27 12/12/93]
- 0R: net34: @2050 [13:23 12/12/93]
- 0R: net34: @2050 (via @1040) [10:08 12/12/93]
- 0R: net33: @1040 (via @8251) [10:38 12/12/93]
- 0R: net33: @8251 [22:53 12/10/93]
- ┌────────────────────────────────────────────────────────────────────────────┐
- │ Mod Name: Para0005.Mod Mod Author: Parapuke, 1@18251 WWIVLink │
- │ Difficulty: 2 of 10 Date: 12/10/1993 │
- │ WWIV Version: WWIV v4.23 │
- │ Files Affected: Lilo.C BBS.Str (english.str) │
- │ Description: Changes last few callers prompt on logon. │
- │ │
- └────────────────────────────────────────────────────────────────────────────┘
-
- Extended Description: One of the things that I didn't like about Wayne Bell's
- stock 4.23 was the way the last few callers were
- displayed. It didn't give me enough information on the
- user to fit my taste. I would much rather see where a
- user is calling from than what speed they were calling
- at. Therefore, I changed the code to show the
- following information [see example]. So I changed the
- code.
-
- and here is the example;
-
- 1Last few callers0
-
- 2Call# Handle City ST Lang Time Date ##0
- ═══════════════════════════════════════════════════════════════════════════════
- 110217 Guestsys #33 Terre Haute IN English 14:21 12/06 50
- 110218 Willie Bill #14 Montreal QE French 14:21 12/06 20
- 110219 The Penguin #5 Terre Haute IN English 09:28 12/09 10
- 110220 Tai Pan #115 San Fernando CA English 10:11 12/09 10
- 110221 Random #69 San Diego CA Spanish 12:02 12/09 10
- 110222 Parapuke #19 Terre Haute IN English 01:20 12/10 10
- 110223 Och Der Leibien #3 Rochchester MN German 15:39 12/10 10
- 110224 Mark Martin #6 St. Louis MO English 16:28 12/10 10
-
-
-
- = = existing code
- + = changed or new code
-
-
- BACK UP YOUR SOURCE CODE!!!!!
-
- Load Lilo.C into your compiler/editor
-
- In void logon(void) search for pl(get_string(972));
-
- and about 6100 lines below that, you will find the code area to change.
- Probably the easiest way, rather than finding where I have made changes is to
- cut everything out between the marked existing code (=) and drop the new code
- (+) in place.
-
- = if ((actsl!=255) || (incom)) {
- = sl1(0,"");
- = sl1(0,stripcolors(s));
- = sl1(1,"");
- + sprintf(s,"1%-6ld %-23.23s %-18.18s %2.2s %-8.8s %-5.5s %-5.5s %2d\r\n",0
- + status.callernum1,
- + nam(&thisuser,usernum),
- + thisuser.city,
- + thisuser.state,
- + cur_lang_name,
- + times(),
- + date(),
- + thisuser.ontoday);
- = sprintf(s1,"%sUSER.LOG",syscfg.gfilesdir);
- = f=sh_open(s1,O_RDWR | O_BINARY | O_CREAT, S_IREAD | S_IWRITE);
- = sh_lseek(f,0L,SEEK_END);
-
-
- Save Lilo.C and get out of your compiler/editor.
-
- Compile your source or wait until you finish the next part, either/or.
-
- Next, go to the gfiles directory and use ESM ((c) tolklien) and edit BBS.Str
- to get your new header. I will include it here with . to make it easier to
- count spaces. Find string 972. This is the header for the laston.txt. Edit
- it to the following...
-
- 2Call#..Handle..................City...............ST..Lang....Time...Date..##0
-
- Save it and have a good time. Send me a piece of mail if you would like to
- boost my ego a little larger (grin).
-
- Parapuke 1@18251 WWIVLink
- 1@8251 Most every other network.